<template>
  <div class="mb-header">
    <div class="header">
      <img
        class="img-logo"
        src="https://saas-oss.oss-cn-hongkong.aliyuncs.com/upload/20210315115112654.png"
        alt=""
        srcset=""
      />
      <div class="logo-right">
        <span class="logo-right-text">登录/注册</span>
        <i @click="changeHaderModel" class="el-icon-s-operation logo-list"></i>
      </div>
    </div>
    <div v-if="isHaderModel" class="mb-model">
      <div class="linkList-box">
        <div class="btn-group">
          <div class="btn-group-item btn-left">登 录</div>
          <div class="btn-group-item btn-right">注 册</div>
        </div>
        <ul class="common-header-linkList">
          <li class="button-li header-user">
            <span class="header-button-links"> 用户中心 </span>
          </li>
          <li class="button-li">
            <span class="header-button-links"> 消息 </span>
          </li>
        </ul>
        <ul class="common-header-linkList">
          <li class="button-li header-user">
            <span class="header-button-links"> 用户中心 </span>
          </li>
          <li class="button-li">
            <span class="header-button-links"> 消息 </span>
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  methods: {
    changeHaderModel () {
      this.isHaderModel = !this.isHaderModel
    }
  },
  data () {
    return {
      isHaderModel: false
    }
  }
}
</script>
